<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html>
<html>
  <head>
    <title>用户注册</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
     
<link rel="stylesheet" type="text/css" href="/res/style/addUser.css">
    <link rel="stylesheet" type="text/css" href="/res/style/common.css">
    <link rel="stylesheet" type="text/css" href="/res/style/register.css">
    <script type="text/javascript" src="/res/script/register.js"></script>
	<script type="text/javascript" src="/res/script/common.js"></script>
  </head>
  
  <body onload="ini();">
	  <div class="CenterDiv">
	  	<div class="RowDiv">
	  	
			 <form action="action_register.action" method="post">
					<table>
						<tr>
							<td colspan="4" style="text-align: left;">
								<h2>基本信息：</h2>
							</td>
						</tr>
						<tr>
							<td>
								<label>账号：</label>
							</td>
							<td>
								<input class="EditTextStyle_1" type="text" name="user.username" id="username">
							</td>
							
							<td>
								<label>昵称：</label>
							</td>
							<td>
								<input class="EditTextStyle_1" type="text" name="user.nickname">
							</td>
						</tr>
						<tr>
							
							<td>
								<label>密码：</label>
							</td>
							<td>
								<input class="EditTextStyle_1" type="password" name="user.password" id="password">
							</td>
							<td>
								<label>确认密码：</label>
							</td>
							<td>
								<input class="EditTextStyle_1" type="password" id="password2">
							</td>
						</tr>
						<tr>
							<td colspan="6" style="text-align: left;">
								<h2>详细信息：</h2>
							</td>
						</tr>
						<tr>
							<td>
								<label>姓名：</label>
							</td>
							<td>
								<input class="EditTextStyle_1" type="text" name="user.userInfo.name">
							</td>
							<td>
								<label>生日：</label>
							</td>
							<td>
								<input class="EditTextStyle_1" name="user.userInfo.birthday" type="date" />
							</td>
						</tr>
						<tr>
							<td>
								<label>故乡：</label> 
							</td>
							<td>
								<input class="EditTextStyle_1" type="text" name="user.userInfo.nativePlace.country">
							</td>
							<td>
								<label>个性签名：</label>
							</td>
							<td>
								<input class="EditTextStyle_1" type="text" name="user.userInfo.signature">
							</td>
						</tr>
						<tr>
							<td>
								<label>所在地：</label> 
							</td>
							<td>
								<input class="EditTextStyle_1" type="text" name="user.userInfo.location.country" >
							</td>
							<td>
								<label>性别：</label>
							</td>
							<td>
								<select
									name="user.gender">
										<option value="0">保密</option>
										<option value="1">男</option>
										<option value="2">女</option>
								</select>
							</td>
						</tr>
						
						<tr>
							<td>
								<label>邮箱：</label> 
							</td>
							<td>
								<input class="EditTextStyle_1" type="email" name="user.userInfo.email">
							</td>
							<td>
								<label>电话：</label>
							</td>
							<td>
								<input class="EditTextStyle_1" type="tel" name="user.userInfo.phone">
							</td>
						</tr>
				
						<tr>
							<td>
								<label>QQ：</label> 
							</td>
							<td>
								<input class="EditTextStyle_1" type="text" name="user.userInfo.qq">
							</td>
							<td>
								<label>工作单位：</label>
							</td>
							<td>
								<input class="EditTextStyle_1" type="text" name="user.userInfo.assistInfo.workUnit">
							</td>
						</tr>
						<tr>
							<td>
								<label>职业：</label>
							</td>
							<td>
								<input class="EditTextStyle_1" type="text" name="user.userInfo.assistInfo.profession">
							</td>
							<td>
								<label>职位：</label>
							</td>
							<td>
								<input class="EditTextStyle_1" type="text" name="user.userInfo.position">
							</td>
						</tr>
						
						<tr>
							
							<td style="text-align: right;">
								<button type="submit" onclick="return validate()">提交</button>
								<button type="reset" onclick="">重置</button>
							</td>
							<td></td>
						</tr>
					</table>
		    </form>
	  	</div>
    </div>
  	<jsp:include page="/page/common/footer.html"></jsp:include>
  </body>
</html>

